me$ php -f ~/Desktop/decrypt-from-encryptor-AES256.php

------------------------------------------------------
TROI test of Troi Encryptor Plug-in 6.0 generated data 
------------------------------------------------------
Using as input a text file, which must be encrypted with AES-256; Zero Padding
NOTE this is the same as Rijndael-128 with key size 256  

Found the extra info file.
NOTE This also contains the password, for testing only: NEVER ADD THIS IN REAL IMPLEMENTATIONS!

Imported: ivBase64 = 'pYqRekJByoejpKpah6mpyg=='
Imported: password = 'very secret key'
Imported: salt = 'd8iJH8ESAmJidPTV!1q*'

Found the data file. 
File path = /Users/me/Desktop/Encrypted_data.txt
File len = 45
File data (Base64) = 
DhOD5m0RbyrvQLVIoAcJULD83uJ7c/bmsrzJfefmioM=

Decrypting the data.
Block size = 16
IV size = 16
Key size = 32
We use own password + salt to generate the key.
Used sha1 = bef749844b9dea68bbec23816588f45fa688674d
Used Key (Base64) = YmVmNzQ5ODQ0YjlkZWE2OGJiZWMyMzgxNjU4OGY0NWY=
Used IV (Base64) = pYqRekJByoejpKpah6mpyg==
The decrypted data (clean): 
------------------------------------------------------
short test text.
------------------------------------------------------


